﻿<%@ Page Language="C#" MasterPageFile="~/Deparment/Mother/MasterPageShow.master" AutoEventWireup="true" CodeFile="Files_from.aspx.cs" Inherits="Deparment_Filse_Files_from" Title="Untitled Page" %>
<%@ Register Src="../../System/DbPageFlip.ascx" TagName="DbPageFlip" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Agency" Runat="Server">
   <asp:Panel ID="Panel2" runat="server"  Width="100%" Height="800px">
    <asp:GridView ID="GridView1" runat="server" Width="100%" AutoGenerateColumns="False" OnRowDataBound="GridView1_RowDataBound">
        <HeaderStyle CssClass="table_title" />
        <Columns>
            <asp:TemplateField HeaderText="删除">
             <ItemTemplate >
                <input id="<%# DataBinder.Eval(Container.DataItem,"BoxID")%>" type="checkbox"  value="<%# DataBinder.Eval(Container.DataItem,"BoxID")%>"  name="chk">
             </ItemTemplate>
                <ItemStyle HorizontalAlign="Center" Width="10%" />
         
            </asp:TemplateField >
            
            <asp:TemplateField HeaderText="来件">
             <ItemTemplate >
                <%# DataBinder.Eval(Container.DataItem, "Readflag")%>
             </ItemTemplate>
                <EditItemTemplate>
                    <%# DataBinder.Eval(Container.DataItem, "Readflag")%>
                </EditItemTemplate>
                <ItemStyle HorizontalAlign="Center" Width="10%" />
              
            </asp:TemplateField>
            <asp:TemplateField HeaderText="标题">
            <ItemTemplate >
                <%# DataBinder.Eval(Container.DataItem, "Title")%>
             </ItemTemplate>
                <ItemStyle HorizontalAlign="Left" Width="55%" />
            </asp:TemplateField>
            <asp:BoundField DataField="UserName_from" HeaderText="发送人" />
            <asp:BoundField DataField="SendTime" HeaderText="发送时间" />
            <asp:BoundField DataField="Readflag" />
            <asp:BoundField DataField="Title" />
            <asp:BoundField  DataField="BoxID"/>
            <asp:BoundField DataField="EmailId" />
        </Columns>
    </asp:GridView>
     <uc1:DbPageFlip ID="DbPageFlip1" runat="server" />
    <input id="Button1" name="delell" type="submit" value="删除" style="width: 45px; background-color: #0066ff" />
    </asp:Panel>
    <asp:Panel ID="Panel1" runat="server" Font-Bold="True" Font-Size="25pt" Height="500px" Width="100%" ForeColor="blue"
        HorizontalAlign="Center" >
        <br /><br />
        <br />
        <img src="../../Deparment/DImage/66B33FB020F31C24140C078DB4A07E00.GIF" />
        没有新文件</asp:Panel>
    
</asp:Content>


